package com.lnking.lnkingplace.model.dto.isolation.room;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lnking.starter.export.annotation.TableColumn;
import com.lnking.starter.export.annotation.TableInfo;
import lombok.Data;

import java.time.LocalDate;

@Data
@TableInfo(tableName = "隔离房间")
public class RoomExcelDto {

    @TableColumn(columnName =  "隔离场所名称")
    private String placeName;

    @TableColumn(columnName =  "楼栋",column = "1")
    private Integer building;

    @TableColumn(columnName =  "楼层",column = "2")
    private Integer floor;

    @TableColumn(columnName =  "房号",column = "3")
    private String roomNumber;

    @TableColumn(columnName =  "入住日期",column = "4")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDate;

    @TableColumn(columnName =  "退房日期",column = "5")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;

    @TableColumn(columnName =  "房间状态",column = "6")
    private String useStatus;

    @TableColumn(columnName =  "备注",column = "7")
    private String note;
}
